package com.sz.data;

import java.util.List;

import android.graphics.Bitmap;

public class Artist {
	
	private String id;
	private String name;
	private String details;
	private List<String> tracks;
	private String imageUrl;
	private Bitmap artistImage;
	
	
	
	public Artist(String id, String name) {
		super();
		this.id = id;
		this.name = name;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public List<String> getTracks() {
		return tracks;
	}
	public void setTracks(List<String> tracks) {
		this.tracks = tracks;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Bitmap getArtistImage() {
		return artistImage;
	}
	public void setArtistImage(Bitmap artistImage) {
		this.artistImage = artistImage;
	}

	@Override
	public boolean equals(Object o) {
		if (o != null && o instanceof Artist) {
			if (this.id.equals(((Artist)o).id)) {
				return true;
			}
		}
		return false;
	}
	
	
	
	
}
